package com.smc.design.state;

public class StateTest {

	public static void Test(){
		System.out.println("============Begin StateTest========");
		Context context = new Context();
		StartState startState = new StartState();
		startState.doAction(context);
		
		PauseState pauseState = new PauseState();
		pauseState.doAction(context);
		
		StopState stopState = new StopState();
		stopState.doAction(context);
		
		System.out.println("current state: " + context.getState().toString());
		
		System.out.println("============End StateTest========");

	}
	
}
